package view;

import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class ClientLoginViewPanel extends javax.swing.JPanel {

	private static final long serialVersionUID = 1L;
	private JPanel jPanel1;
	private JTextField jTextFieldCode;
	private JLabel jLabelCode;
	private JPanel jPanel3;
	private JLabel jLabelTitle;
	private JButton jButtonConfirm;
	private JPanel jPanel2;

	public ClientLoginViewPanel() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			this.setPreferredSize(new java.awt.Dimension(500, 400));
			GridBagLayout thisLayout = new GridBagLayout();
			this.setSize(600, 400);
			thisLayout.rowWeights = new double[] {0.0, 0.0, 0.1};
			thisLayout.rowHeights = new int[] {353, 6, 20};
			thisLayout.columnWeights = new double[] {0.1};
			thisLayout.columnWidths = new int[] {7};
			this.setLayout(thisLayout);
			{
				jPanel1 = new JPanel();
				GridBagLayout jPanel1Layout = new GridBagLayout();
				this.add(jPanel1, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel1Layout.rowWeights = new double[] {0.0, 0.0, 0.0, 0.1};
				jPanel1Layout.rowHeights = new int[] {25, 6, 20, 20};
				jPanel1Layout.columnWeights = new double[] {0.1};
				jPanel1Layout.columnWidths = new int[] {7};
				jPanel1.setLayout(jPanel1Layout);
				{
					jLabelTitle = new JLabel();
					jPanel1.add(jLabelTitle, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabelTitle.setText("Login");
					jLabelTitle.setFont(new java.awt.Font("Dialog",1,14));
				}
				{
					jPanel3 = new JPanel();
					GridBagLayout jPanel3Layout = new GridBagLayout();
					jPanel1.add(jPanel3, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jPanel3Layout.rowWeights = new double[] {0.1};
					jPanel3Layout.rowHeights = new int[] {7};
					jPanel3Layout.columnWeights = new double[] {0.0, 0.0, 0.1};
					jPanel3Layout.columnWidths = new int[] {53, 6, 7};
					jPanel3.setLayout(jPanel3Layout);
					{
						jLabelCode = new JLabel();
						jPanel3.add(jLabelCode, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
						jLabelCode.setText("Código");
					}
					{
						jTextFieldCode = new JTextField();
						jPanel3.add(jTextFieldCode, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					}
				}
			}
			{
				jPanel2 = new JPanel();
				this.add(jPanel2, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				{
					jButtonConfirm = new JButton();
					jPanel2.add(jButtonConfirm);
					jButtonConfirm.setText("Confirma");
				}
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public JButton getjButtonConfirm() {
		return jButtonConfirm;
	}

	public JTextField getjTextFieldCode() {
		return jTextFieldCode;
	}	
}
